﻿@inherits AdminCompontentBase
<MForm Model="_model" @ref="Form" EnableValidation EnableI18n Class="my-3">
    <MRow Class="row-box">
        <MCol Md="12">
            <STextField @bind-Value="_model.AccessKeyId" Required
                        Label="@T("SmsChannelOptions.AccessKeyId")"
                        Hint="@T("ChannelOptions.Tips")">
            </STextField>
        </MCol>
        <MCol Md="12">
            <STextField @bind-Value="_model.AccessKeySecret" Required
                        Label="@T("SmsChannelOptions.AccessKeySecret")"
                        Hint="@T("ChannelOptions.Tips")"
                        Type="@(!PasswordView?"password":_passwordShow ? "text" : "password")"
                        AppendIcon="@(!PasswordView?"":_passwordShow ? "mdi-eye" : "mdi-eye-off")" OnAppendClick="()=>_passwordShow = !_passwordShow">
            </STextField>
        </MCol>
    </MRow>
</MForm>